﻿<UserControl x:Class="ConsoleHoster.View.Controls.ProgressOverlay"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:uc="clr-namespace:ConsoleHoster.Common.Controls;assembly=ConsoleHoster.Common"
             mc:Ignorable="d" 
             Height="150" Width="300">
    <Grid Background="#CCDDDDDD">
        <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
            <StackPanel Orientation="Vertical" >
                <uc:WaitIndicator HorizontalAlignment="Center" VerticalAlignment="Center" Width="40" Height="40" />
                <TextBlock Text="{Binding Path=Status, Mode=OneWay, RelativeSource={RelativeSource AncestorType=UserControl}}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0, 2, 0, 0" FontWeight="Bold" FontSize="12" />
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
